package com.wuzu.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单物流表(OrderLogistics)实体类
 *
 * @author jsm
 * @since 2023-03-27 10:14:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_order_logistics")
public class OrderLogistics implements Serializable {
    private static final long serialVersionUID = 561646688416888905L;
    /**
     * 序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发货时间
     */
    @TableField(value = "con_time")
    private Date conTime;

    /**
     * 发货人
     */
    @TableField(value = "consignor")
    private String consignor;

    /**
     * 收货人
     */
    @TableField(value = "con_name")
    private String conName;

    /**
     * 收货人联系方式
     */
    @TableField(value = "con_phone")
    private String conPhone;

    /**
     * 收货人地址
     */
    @TableField(value = "con_address")
    private String conAddress;

    /**
     * 确认收货时间
     */
    @TableField(value = "confirm_time")
    private Date confirmTime;
}
